package com.link2room.soundwave.facade.factory;


import com.link2room.common.constant.AllPmsConstant;

/**
 * Created by sss on 2017/5/19.
 */
public class SimplePmsFactory {
    public static AbstractPmsFactory create(String pmsType){
        if(AllPmsConstant.PMSTYPE.GCPMS.equals(pmsType)) {
            return new GcPmsFactory();
        }else if(AllPmsConstant.PMSTYPE.YHPMS.equals(pmsType)){
            return new YhPmsFactory();
        }else {
            return null;
        }
    }
}
